package cn.iocoder.yudao.module.wms.controller.admin.rdrecord10.vo;

import cn.iocoder.yudao.module.system.dal.dataobject.dept.DeptDO;
import cn.iocoder.yudao.module.system.dal.dataobject.user.AdminUserDO;
import cn.iocoder.yudao.module.wms.dal.dataobject.person.PersonDO;
import cn.iocoder.yudao.module.wms.dal.dataobject.warehouse.WarehouseDO;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.VO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 生产入库主 Response VO")
@Data
@ExcelIgnoreUnannotated
public class Rdrecord10RespVO implements VO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "15810")
    @ExcelProperty("id")
    private Integer id;

    @Schema(description = "流水号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("流水号")
    private String serialNumber;

    @Schema(description = "业务员id", example = "19044")
    @ExcelProperty("业务员id")
    @Trans(type = TransType.SIMPLE, target = PersonDO.class, fields = "name", ref = "personName")
    private Integer personId;
    private String personName;

    @Schema(description = "部门id", example = "22046")
    @ExcelProperty("部门id")
    @Trans(type = TransType.SIMPLE, target = DeptDO.class, fields = "name", ref = "deptName")
    private Integer deptId;
    private String deptName;



    @Schema(description = "仓库id", requiredMode = Schema.RequiredMode.REQUIRED, example = "23661")
    @ExcelProperty("仓库id")
    @Trans(type = TransType.SIMPLE, target = WarehouseDO.class, fields = "name", ref = "warehouseName")
    private Integer warehouseId;
    private String warehouseName;

    @Schema(description = "订单日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("订单日期")
    private LocalDateTime orderDate;

    @Schema(description = "备注", example = "你说的对")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = " ACT_HI_PROCINST 表的 PROC_INST_ID_", example = "8786")
    @ExcelProperty(" ACT_HI_PROCINST 表的 PROC_INST_ID_")
    private String processInstanceId;

    @Schema(description = "结果", example = "1")
    @ExcelProperty("结果")
    private Integer status;
    private Integer productionOrderId;

}